package com.ruoyi.project.datareport.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 单据子（出入库记录）对象 ry_depot_item
 *
 * @author 萧雪
 * @date 2022-11-17
 */
public class RyDepotItems extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 表头Id */
    @Excel(name = "表头Id")
    private Long headerId;

    /** 商品Id */
    private Long inventoryId;

    /** 商品名 */
    @Excel(name = "商品名")
    private String inventoryName;

    /** 规格 */
    @Excel(name = "规格")
    private String inventorySpecifications;

    /** 供应商id */
    @Excel(name = "供应商id")
    private Long supplyId;

    /** 供应商 */
    private String supply;

    /** 单据号 */
    @Excel(name = "订单号")
    private String number;

    /** 项目名 */
    @Excel(name = "项目名")
    private String projectName;

    /** 项目代号 */
    @Excel(name = "项目代号")
    private String projectCode;

    /** 采购合同编号 */
    @Excel(name = "采购合同编号")
    private String contractNumber;


    /** wbs */
    @Excel(name = "wbs")
    private String wbs;

    /** 待采购数量 */
    @Excel(name = "待采购数量")
    private Long advancePurchaseNum;

    /** 总库可用数量 */
    @Excel(name = "总库可用数量")
    private Long usableNum;

    /** 数量 */
    @Excel(name = "数量")
    private Long operNumber;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal unitPrice;

    /** 金额 */
    private BigDecimal allPrice;

    /** 合格数量 */
    private Long qualifiedNum;

    /** 不合格数量 */
    private Long unqualifiedNum;

    /** 不合格原因 */
    private String unqualifiedReason;

    /** 采购订单id */
    private Long purchaseInId;

    /** 项目物品出库单id */
    private Long purchaseOutId;

    /** 仓库ID */
    private Long depotId;

    /** 调拨时，对方仓库Id */
    private Long anotherDepotId;

    /** 类别：0入库/1出库/2锁定 */
    private String headerType;

    /** 锁定状态:0锁定1取消 */
    private String lockStatus;

    /** 税率 */
    private BigDecimal taxRate;

    /** 税额 */
    private BigDecimal taxMoney;

    /** 价税合计 */
    private BigDecimal taxLastMoney;

    /** 序列号列表 */
    private String snList;

    /** 批号 */
    private String batchNumber;

    /** 有效日期 */
    private Date expirationDate;

    /** 操作时间 */
    private Date operTime;

    /** 操作员id */
    private Long operMan;

    /** 关联明细id */
    private Long linkId;

    /** 租户id */
    private Long tenantId;

    /** 删除标记，0未删除，1删除 */
    private String delFlag;

    /** Y是N否 */
    private String belongtoProject;

    /** 发货状态 */
    private String shippingStatus;

    /** 退回状态 */
    private String returnStatus;

    /** 重发状态 */
    private String retransmissionStatus;

    /** 重发数量 */
    private Long retransmissionNum;

    /** 库位 */
    private String location;

    /** 是否生成订单。Y是N否 */
    private String isCreateOrder;

    /** 交货日期 */
    private Date deliveryTime;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getContractNumber() {
        return contractNumber;
    }

    public void setContractNumber(String contractNumber) {
        this.contractNumber = contractNumber;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Long getId()
    {
        return id;
    }
    public void setHeaderId(Long headerId)
    {
        this.headerId = headerId;
    }

    public Long getHeaderId()
    {
        return headerId;
    }
    public void setInventoryId(Long inventoryId)
    {
        this.inventoryId = inventoryId;
    }

    public Long getInventoryId()
    {
        return inventoryId;
    }
    public void setInventoryName(String inventoryName)
    {
        this.inventoryName = inventoryName;
    }

    public String getInventoryName()
    {
        return inventoryName;
    }
    public void setInventorySpecifications(String inventorySpecifications)
    {
        this.inventorySpecifications = inventorySpecifications;
    }

    public String getInventorySpecifications()
    {
        return inventorySpecifications;
    }
    public void setSupplyId(Long supplyId)
    {
        this.supplyId = supplyId;
    }

    public Long getSupplyId()
    {
        return supplyId;
    }
    public void setSupply(String supply)
    {
        this.supply = supply;
    }

    public String getSupply()
    {
        return supply;
    }
    public void setWbs(String wbs)
    {
        this.wbs = wbs;
    }

    public String getWbs()
    {
        return wbs;
    }
    public void setAdvancePurchaseNum(Long advancePurchaseNum)
    {
        this.advancePurchaseNum = advancePurchaseNum;
    }

    public Long getAdvancePurchaseNum()
    {
        return advancePurchaseNum;
    }
    public void setUsableNum(Long usableNum)
    {
        this.usableNum = usableNum;
    }

    public Long getUsableNum()
    {
        return usableNum;
    }
    public void setOperNumber(Long operNumber)
    {
        this.operNumber = operNumber;
    }

    public Long getOperNumber()
    {
        return operNumber;
    }
    public void setUnitPrice(BigDecimal unitPrice)
    {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getUnitPrice()
    {
        return unitPrice;
    }
    public void setAllPrice(BigDecimal allPrice)
    {
        this.allPrice = allPrice;
    }

    public BigDecimal getAllPrice()
    {
        return allPrice;
    }
    public void setQualifiedNum(Long qualifiedNum)
    {
        this.qualifiedNum = qualifiedNum;
    }

    public Long getQualifiedNum()
    {
        return qualifiedNum;
    }
    public void setUnqualifiedNum(Long unqualifiedNum)
    {
        this.unqualifiedNum = unqualifiedNum;
    }

    public Long getUnqualifiedNum()
    {
        return unqualifiedNum;
    }
    public void setUnqualifiedReason(String unqualifiedReason)
    {
        this.unqualifiedReason = unqualifiedReason;
    }

    public String getUnqualifiedReason()
    {
        return unqualifiedReason;
    }
    public void setPurchaseInId(Long purchaseInId)
    {
        this.purchaseInId = purchaseInId;
    }

    public Long getPurchaseInId()
    {
        return purchaseInId;
    }
    public void setPurchaseOutId(Long purchaseOutId)
    {
        this.purchaseOutId = purchaseOutId;
    }

    public Long getPurchaseOutId()
    {
        return purchaseOutId;
    }
    public void setDepotId(Long depotId)
    {
        this.depotId = depotId;
    }

    public Long getDepotId()
    {
        return depotId;
    }
    public void setAnotherDepotId(Long anotherDepotId)
    {
        this.anotherDepotId = anotherDepotId;
    }

    public Long getAnotherDepotId()
    {
        return anotherDepotId;
    }
    public void setHeaderType(String headerType)
    {
        this.headerType = headerType;
    }

    public String getHeaderType()
    {
        return headerType;
    }
    public void setLockStatus(String lockStatus)
    {
        this.lockStatus = lockStatus;
    }

    public String getLockStatus()
    {
        return lockStatus;
    }
    public void setTaxRate(BigDecimal taxRate)
    {
        this.taxRate = taxRate;
    }

    public BigDecimal getTaxRate()
    {
        return taxRate;
    }
    public void setTaxMoney(BigDecimal taxMoney)
    {
        this.taxMoney = taxMoney;
    }

    public BigDecimal getTaxMoney()
    {
        return taxMoney;
    }
    public void setTaxLastMoney(BigDecimal taxLastMoney)
    {
        this.taxLastMoney = taxLastMoney;
    }

    public BigDecimal getTaxLastMoney()
    {
        return taxLastMoney;
    }
    public void setSnList(String snList)
    {
        this.snList = snList;
    }

    public String getSnList()
    {
        return snList;
    }
    public void setBatchNumber(String batchNumber)
    {
        this.batchNumber = batchNumber;
    }

    public String getBatchNumber()
    {
        return batchNumber;
    }
    public void setExpirationDate(Date expirationDate)
    {
        this.expirationDate = expirationDate;
    }

    public Date getExpirationDate()
    {
        return expirationDate;
    }
    public void setOperTime(Date operTime)
    {
        this.operTime = operTime;
    }

    public Date getOperTime()
    {
        return operTime;
    }
    public void setOperMan(Long operMan)
    {
        this.operMan = operMan;
    }

    public Long getOperMan()
    {
        return operMan;
    }
    public void setLinkId(Long linkId)
    {
        this.linkId = linkId;
    }

    public Long getLinkId()
    {
        return linkId;
    }
    public void setTenantId(Long tenantId)
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId()
    {
        return tenantId;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setBelongtoProject(String belongtoProject)
    {
        this.belongtoProject = belongtoProject;
    }

    public String getBelongtoProject()
    {
        return belongtoProject;
    }
    public void setShippingStatus(String shippingStatus)
    {
        this.shippingStatus = shippingStatus;
    }

    public String getShippingStatus()
    {
        return shippingStatus;
    }
    public void setReturnStatus(String returnStatus)
    {
        this.returnStatus = returnStatus;
    }

    public String getReturnStatus()
    {
        return returnStatus;
    }
    public void setRetransmissionStatus(String retransmissionStatus)
    {
        this.retransmissionStatus = retransmissionStatus;
    }

    public String getRetransmissionStatus()
    {
        return retransmissionStatus;
    }
    public void setRetransmissionNum(Long retransmissionNum)
    {
        this.retransmissionNum = retransmissionNum;
    }

    public Long getRetransmissionNum()
    {
        return retransmissionNum;
    }
    public void setLocation(String location)
    {
        this.location = location;
    }

    public String getLocation()
    {
        return location;
    }
    public void setIsCreateOrder(String isCreateOrder)
    {
        this.isCreateOrder = isCreateOrder;
    }

    public String getIsCreateOrder()
    {
        return isCreateOrder;
    }
    public void setDeliveryTime(Date deliveryTime)
    {
        this.deliveryTime = deliveryTime;
    }

    public Date getDeliveryTime()
    {
        return deliveryTime;
    }
    public void setBrand(String brand)
    {
        this.brand = brand;
    }

    public String getBrand()
    {
        return brand;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("headerId", getHeaderId())
            .append("number",getNumber())
            .append("inventoryId", getInventoryId())
            .append("inventoryName", getInventoryName())
            .append("inventorySpecifications", getInventorySpecifications())
            .append("supplyId", getSupplyId())
            .append("supply", getSupply())
            .append("wbs", getWbs())
            .append("advancePurchaseNum", getAdvancePurchaseNum())
            .append("usableNum", getUsableNum())
            .append("operNumber", getOperNumber())
            .append("unitPrice", getUnitPrice())
            .append("allPrice", getAllPrice())
            .append("qualifiedNum", getQualifiedNum())
            .append("unqualifiedNum", getUnqualifiedNum())
            .append("unqualifiedReason", getUnqualifiedReason())
            .append("purchaseInId", getPurchaseInId())
            .append("purchaseOutId", getPurchaseOutId())
            .append("remark", getRemark())
            .append("depotId", getDepotId())
            .append("anotherDepotId", getAnotherDepotId())
            .append("headerType", getHeaderType())
            .append("lockStatus", getLockStatus())
            .append("taxRate", getTaxRate())
            .append("taxMoney", getTaxMoney())
            .append("taxLastMoney", getTaxLastMoney())
            .append("snList", getSnList())
            .append("batchNumber", getBatchNumber())
            .append("expirationDate", getExpirationDate())
            .append("operTime", getOperTime())
            .append("operMan", getOperMan())
            .append("linkId", getLinkId())
            .append("tenantId", getTenantId())
            .append("delFlag", getDelFlag())
            .append("belongtoProject", getBelongtoProject())
            .append("shippingStatus", getShippingStatus())
            .append("returnStatus", getReturnStatus())
            .append("retransmissionStatus", getRetransmissionStatus())
            .append("retransmissionNum", getRetransmissionNum())
            .append("location", getLocation())
            .append("isCreateOrder", getIsCreateOrder())
            .append("deliveryTime", getDeliveryTime())
            .append("brand", getBrand())
            .toString();
    }
}
